package cn.tedu.storage;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

@MapperScan("cn.tedu.storage.mapper")
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)  //排除数据源的自动配置
public class StorageApplication {

    public static void main(String[] args) {
        SpringApplication.run(StorageApplication.class, args);
    }

}
/*
启动 storage 项目进行测试
按顺序启动项目：
Eureka
Seata Server
Easy Id Generator
Storage
Order
访问：http://localhost:8083/create?userId=1&productId=1&count=10&money=100
 */